using System;
using System.Collections.Generic;
using System.Text;
using ERP.BusinessEntities.Base;
namespace ERP.BusinessEntities
{
	public class BSObjectLocksInfo:BaseBusinessInfo
	{
		#region Variable
		private int _iD;
		private String _userName = String.Empty;
		private String _tableName = String.Empty;
		private int _objectID;
		private bool _isLocked;
		private DateTime _startLockDate = DateTime.Now;
		#endregion


		#region Properties
		public int ID
		{
			get { return _iD;}
			set
			{
				_iD = value;
				this.NotifyPropertyChanged("ID");
			}
		}
		public String UserName
		{
			get { return _userName;}
			set
			{
				_userName = value;
				this.NotifyPropertyChanged("UserName");
			}
		}
		public String TableName
		{
			get { return _tableName;}
			set
			{
				_tableName = value;
				this.NotifyPropertyChanged("TableName");
			}
		}
		public int ObjectID
		{
			get { return _objectID;}
			set
			{
				_objectID = value;
				this.NotifyPropertyChanged("ObjectID");
			}
		}
		public bool isLocked
		{
			get { return _isLocked;}
			set
			{
				_isLocked = value;
				this.NotifyPropertyChanged("isLocked");
			}
		}
		public DateTime StartLockDate
		{
			get { return _startLockDate;}
			set
			{
				_startLockDate = value;
				this.NotifyPropertyChanged("StartLockDate");
			}
		}
		#endregion
	}
}